﻿using System.ComponentModel.Composition;
using System.Windows.Controls;
using SMSManager.Commn.Interfaces.Views;

namespace SMSManager.WpfClient.Views
{
	/// <summary>
	/// 	Interaction logic for LoginView.xaml
	/// </summary>
	[Export(typeof (ILoginView))]
	//[Export]
	public partial class LoginView : UserControl, ILoginView
	{
		public LoginView()
		{
			InitializeComponent();
			Loaded += (s, e) =>
			          	{
			          		object obj = DataContext;
			          		DataContext = null;
			          		DataContext = obj;
			          	};
		}
	}
}